package dmo2;

public abstract class Animal {
    private String name;
    private String colour;
    private String kind;

    public Animal() {
    }

    public Animal(String name, String colour, String kind) {
        this.name = name;
        this.colour = colour;
        this.kind = kind;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }
    public abstract void eat();
    public abstract void cry();
}
